home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
dosguide.exe
/
HELPDOS.ZIP
/
TIME.HLP
< prev
next >
Wrap
Text File
|
1985-09-10
|
1KB
|
37 lines
------------------------ TIME - Internal DOS Command -------------------------
TIME displays and/or sets the time of day known to the system.
FORMAT: TIME [hh:mm:ss.xx]
REMARKS:
hh - one or two digits (0-23) representing the hour
mm - one or two digits (0-59) representing minutes
ss - one or two digits (0-59) representing seconds
xx - one or two digits (0-59) representing hundredths of a second
If you enter partial time information (for example, just the hour and
minutes), the remaining fields are set to zero.
Entering TIME with no parameters will display the current time setting and
prompt for a new time setting. If you do not want to reset the time, press
the RETURN key.
DOS will prompt you for the time when the system is started (unless an
AUTOEXEC.BAT file is found). Specifying hours and minutes only is
sufficient for most applications. When a file is written to disk, DOS stores
the date and time it was written in the directory.
EXAMPLE:
Set the time to 2:30 pm:
TIME 14:30
or you can first display the time and let DOS prompt you for a new time:
TIME
Current Time is 00:22:11.33
Enter new time: 14:30 <-- enter 14:30 and press RETURN